package com.hksj.slm.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hksj.slm.dto.LinkLightingDTO;
import com.hksj.slm.entity.LinkLighting;
import com.hksj.slm.query.LinkLightingQuery;
import com.hksj.slm.vo.LightingDeviceVO;
import com.hksj.slm.vo.LinkLightingVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface LinkLightingMapper extends BaseMapper<LinkLighting> {

    List<LinkLightingVO> queryLinkLightingList(@Param("query") LinkLightingQuery query);

    List<LinkLightingVO> queryLightingModelList(@Param("query") LinkLightingQuery query);

    LightingDeviceVO queryLightingDeviceById(@Param("query")LinkLightingQuery query);
}
